package com.easylinkin.linkappapi.quality.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.easylinkin.linkappapi.common.model.RequestModel;
import com.easylinkin.linkappapi.quality.dto.QualityInspectionDTO;
import com.easylinkin.linkappapi.quality.entity.QualityInspection;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 闸机表 服务类
 * </p>
 *
 * @author TongJie
 * @since 2022-04-13
 */
public interface QualityInspectionService extends IService<QualityInspection> {

  IPage<QualityInspectionDTO> queryListByPage(RequestModel<QualityInspectionDTO> requestModel);


  IPage<QualityInspectionDTO> queryListByPageFromEnterprise(RequestModel<QualityInspectionDTO> requestModel);

  /**
   * 增加
   * @param qualityInspection
   */
  void insert(QualityInspection qualityInspection);

  /**
   * 根据id编辑
   * @param qualityInspection
   */
  void updateOne(QualityInspection qualityInspection);

}
